
import {
    websocket,
    createWebSocket,
    closeWebSocket
} from './websocket.js'

import React, { FC, useEffect, useState, useRef } from 'react';

export default () => {
    
    useEffect(()=>{
        createWebSocket('ws://127.0.0.1:3000')
    },[])

    return <div>我是demo</div>
}